package com.qr;

public class Person {
	
	private int id;
	private String nameString;
	public boolean isSend;

	public int idCard;

	protected double salary;
	int aa;
	
	
	public void save() {
		System.out.println("保存不保存");
	}
	
	protected void dele() {
		System.out.println("删除");
	}

	public Person() {
	}

	public Person(int id, String nameString, boolean isSend) {
		this.id = id;
		this.nameString = nameString;
		this.isSend = isSend;
	}

	public Person(int id, String nameString, boolean isSend, int idCard) {
		this.id = id;
		this.nameString = nameString;
		this.isSend = isSend;
		this.idCard = idCard;
	}


	public Person(int id, String nameString, boolean isSend, double salary, int aa) {
		this.id = id;
		this.nameString = nameString;
		this.isSend = isSend;
		this.salary = salary;
		this.aa = aa;
	}

	//私有构造
	private Person(int id, String nameString, boolean isSend, int idCard, double salary, int aa) {
		this.id = id;
		this.nameString = nameString;
		this.isSend = isSend;
		this.idCard = idCard;
		this.salary = salary;
		this.aa = aa;
	}

	private void he(){

	}

	protected void hehe(){

	}

	void hehehe(){

	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNameString() {
		return nameString;
	}

	public void setNameString(String nameString) {
		this.nameString = nameString;
	}

	public boolean isSend() {
		return isSend;
	}

	public void setSend(boolean send) {
		isSend = send;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public int getAa() {
		return aa;
	}

	public void setAa(int aa) {
		this.aa = aa;
	}

	@Override
	public String toString() {
		return "Person{" +
				"id=" + id +",idCard=" + idCard +
				", nameString='" + nameString + '\'' +
				", isSend=" + isSend +
				", salary=" + salary +
				", aa=" + aa +
				'}';
	}
}
